// Flex
.#{$prefix}display-f {
  /* #ifndef APP-NVUE */
  display: flex !important;
  /* #endif */
}
.#{$prefix}flex-center {
  /* #ifndef APP-NVUE */
  display: flex !important;
  /* #endif */
  justify-content: center !important;
  align-items: center !important;
}
// Flex Basis

// 行内 Flex

// Justify Content
.#{$prefix}justify-start {
  justify-content: flex-start !important;
}
.#{$prefix}justify-end {
  justify-content: flex-end !important;
}
.#{$prefix}justify-center {
  justify-content: center !important;
}
.#{$prefix}justify-between {
  justify-content: space-between !important;
}
/* #ifndef APP-NVUE */
.#{$prefix}justify-around {
  justify-content: space-around;
}
.#{$prefix}justify-evenly {
  justify-content: space-evenly;
}

// Justify Items
.#{$prefix}justify-items-auto {
  justify-items: auto;
}
.#{$prefix}justify-items-start {
  justify-items: start;
}
.#{$prefix}justify-items-end {
  justify-items: end;
}
.#{$prefix}justify-items-center {
  justify-items: center;
}
.#{$prefix}justify-items-stretch {
  justify-items: stretch;
}

// Justify Self
.#{$prefix}justify-self-auto {
  justify-self: auto;
}
.#{$prefix}justify-self-start {
  justify-self: start;
}
.#{$prefix}justify-self-end {
  justify-self: end;
}
.#{$prefix}justify-self-center {
  justify-self: center;
}
.#{$prefix}justify-self-stretch {
  justify-self: stretch;
}

// Align Content
.#{$prefix}content-center {
  align-content: center;
}
.#{$prefix}content-start {
  align-content: flex-start;
}
.#{$prefix}content-end {
  align-content: flex-end;
}
.#{$prefix}content-between {
  align-content: space-between;
}
.#{$prefix}content-around {
  align-content: space-around;
}
.#{$prefix}content-evenly {
  align-content: space-evenly;
}
/* #endif */

// Align Items
.#{$prefix}items-start {
  align-items: flex-start !important;
}
.#{$prefix}items-end {
  align-items: flex-end !important;
}
.#{$prefix}items-center {
  align-items: center !important;
}
/* #ifndef APP-NVUE */
.#{$prefix}items-baseline {
  align-items: baseline;
}
/* #endif */
.#{$prefix}items-stretch {
  align-items: stretch !important;
}

/* #ifndef APP-NVUE */
// Align Self
.#{$prefix}self-auto {
  align-self: auto;
}
.#{$prefix}self-start {
  align-self: flex-start;
}
.#{$prefix}self-end {
  align-self: flex-end;
}
.#{$prefix}self-center {
  align-self: center;
}
.#{$prefix}self-stretch {
  align-self: stretch;
}

// Place Content
.#{$prefix}place-content-center {
  place-content: center;
}
.#{$prefix}place-content-start {
  place-content: start;
}
.#{$prefix}place-content-end {
  place-content: end;
}
.#{$prefix}place-content-between {
  place-content: space-between;
}
.#{$prefix}place-content-around {
  place-content: space-around;
}
.#{$prefix}place-content-evenly {
  place-content: space-evenly;
}
.#{$prefix}place-content-stretch {
  place-content: stretch;
}

// Place Items
.#{$prefix}place-items-auto {
  place-items: auto;
}
.#{$prefix}place-items-start {
  place-items: start;
}
.#{$prefix}place-items-end {
  place-items: end;
}
.#{$prefix}place-items-center {
  place-items: center;
}
.#{$prefix}place-items-stretch {
  place-items: stretch;
}

// Place Self
.#{$prefix}place-self-auto {
  place-self: auto;
}
.#{$prefix}place-self-start {
  place-self: start;
}
.#{$prefix}place-self-end {
  place-self: end;
}
.#{$prefix}place-self-center {
  place-self: center;
}
.#{$prefix}place-self-stretch {
  place-self: stretch;
}
/* #endif */

// Flex 方向
.#{$prefix}flex-row {
  flex-direction: row !important;
}
.#{$prefix}flex-row-reverse {
  flex-direction: row-reverse !important;
}
.#{$prefix}flex-col {
  flex-direction: column !important;
}
.#{$prefix}flex-col-reverse {
  flex-direction: column-reverse !important;
}

// Flex Wrap
.#{$prefix}flex-wrap {
  flex-wrap: wrap !important;
}
.#{$prefix}flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}
.#{$prefix}flex-nowrap {
  flex-wrap: nowrap !important;
}

/* #ifndef APP-NVUE */
// Flex Stretch
// .#{$prefix}flex-1 {
//   flex: 1 1 0%;
// }
.#{$prefix}flex-auto {
  flex: 1 1 auto;
}
.#{$prefix}flex-initial {
  flex: 0 1 auto;
}
.#{$prefix}flex-none {
  flex: none;
}
/* #endif */

// flex: {1~16} !important;
@for $i from 1 through 16 {
  .#{$prefix}flex-#{$i} {
    flex: $i !important;
  }
}

/* #ifndef APP-NVUE */
// Flex Grow
.#{$prefix}flex-grow-0 {
  flex-grow: 0;
}
.#{$prefix}flex-grow {
  flex-grow: 1;
}

// Flex Shrink
.#{$prefix}flex-shrink-0 {
  flex-shrink: 0;
}
.#{$prefix}flex-shrink {
  flex-shrink: 1;
}
/* #endif */
